﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Controller.DataStore
{
    /*
     *  represents an external data source
     * **/
    public static class Randoms
    {
        #region Fields
        //  Fields

        static List<int> RandomList;
        #endregion

        #region Functions
        //  Functions

        public static IEnumerable<int> GetRandoms ( int ListSize )
        {
            Random rnd = new Random ( );
            RandomList = new List<int> ( ListSize );

            for (int i = 0 ; i < ListSize ; i++)
            {
                RandomList.Add ( (int)( ( ListSize ) * rnd.NextDouble ( ) ) );
            }

            return RandomList;
        }
        #endregion
    }
}
